package com.xmtlxx.wms.domain.vo;

import com.xmtlxx.common.annotation.ExcelDictFormat;
import com.xmtlxx.common.convert.ExcelDictConvert;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.xmtlxx.system.domain.SysOss;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;


/**
 * 看样明细视图对象 t_viewing_dtl
 *
 * @author xmtlxx
 * @date 2022-08-15
 */
@Data
@ApiModel("看样明细视图对象")
@ExcelIgnoreUnannotated
public class ViewingDtlVo {

    private static final long serialVersionUID = 1L;

    /**
     * 明细ID
     */
    @ExcelProperty(value = "明细ID")
    @ApiModelProperty("明细ID")
    private String id;

    /**
     * 看样ID
     */
    @ExcelProperty(value = "看样ID")
    @ApiModelProperty("看样ID")
    private String viewingId;

    /**
     * 物品编号
     */
    @ExcelProperty(value = "物品编号")
    @ApiModelProperty("物品编号")
    private String pno;

    /**
     * 物品名称
     */
    @ExcelProperty(value = "物品名称")
    @ApiModelProperty("物品名称")
    private String name;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wms_view_status")
    @ApiModelProperty("状态")
    private String status;

    /**
     * 查看时间
     */
    @ExcelProperty(value = "查看时间")
    @ApiModelProperty("查看时间")
    private Date viewTime;

    /**
     * 查看次数
     */
    @ExcelProperty(value = "查看次数")
    @ApiModelProperty("查看次数")
    private Long nums;

    /**
     * 删除标识
     */
    @ExcelProperty(value = "删除标识", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_del_flag")
    @ApiModelProperty("删除标识")
    private String delFlag;

    private String  classifyName;

    private String secondClassifyName;

    private String thirdClassifyName;

    private List<SysOss> oss;

    private String character;
    private String storeName;
    private String locatorName;


}
